package com.zxy.service.v1;

import com.zxy.dao.v1.PersonDao;
import com.zxy.entity.v1.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: TODO
 * @Author: zhuxianyu
 * @Date: 2021/12/17 21:19
 * @Version: 1.0
 */
@Service
public class PersonService {

    @Autowired
    PersonDao personDao;

    public List<Person> selectList(int n) {
        List<Person> personList = personDao.selectList(n);
        return personList;
    }

}
